package com.example.demo.design.state_pattern.simple.account;

/**
 * @Author: liull
 * @Description:
 * @Date: Created in 19:40 2020/11/24
 * @Modified By:
 */
public abstract class AccountState {
    protected Account acc;

    public abstract void deposit(double amount);

    public abstract void withdraw(double amount);

    public abstract void computeInterest();

    public abstract void stateCheck();

}
